package cn.basic.enums;

/**
 * @description:
 * @author: ZZZ
 * @time: 2021/2/24 15:35
 */
public enum ExceptionCodeEnum {
    REQUEST_SUCCESS("0","请求成功"),
    REQUEST_FAIL("101","请求失败"),
    PARAMETER_ERROR("102","参数不正确"),
    QUERY_NO_RESULT("103","查询无结果");

    public String code;
    private String message;

    ExceptionCodeEnum(String code, String message) {

        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}

